/* 声明字体图标 */
@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?tomleg');
    src:  url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?tomleg') format('truetype'),
      url('../fonts/icomoon.woff?tomleg') format('woff'),
      url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }

/* 版心 */
.w{
    width: 1200px;
    margin: 0 auto;
}

.fl{
    float: left;
}

.fr{
    float: right;
}

.style_red{
    color: #c81623;
}

/* 快捷导航模块 */
.shortcut{
    height: 31px;
    /* 行高会被下面的子元素继承(如果下面的子元素都要垂直居中,可以将行高写在父元素中,让子元素继承) */
    line-height: 31px;
    background-color: #f1f1f1;
}

.shortcut .w{
    background-color: #f1f1f1;
    height: 31px;
}

.shortcut ul li{
    float: left;
}

/* 使用.shortcut .fr ul li:nth-child(even)也可 */
.shortcut .fr ul li:nth-child(2n){
    width: 1px;
    height: 12px;
    margin: 9px 15px 0;
    background-color: #666;
}

.arrow-icon::after{
    content: '\e91e';
    font-family: icomoon;
    margin-left:6px
}

/* header 头部模块 */
.header{
    position: relative;
    height: 105px;
}

.logo{
    position:absolute;
    top: 25px;
    width: 171px;
    height: 61px;
}

.logo a{
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat center;
    /* 为了搜索引擎收录我们,我们链接里面要放文字(网站名称),但是文字不要显示出来. */
    /* 方法1: text-indent 移到盒子外面（text-indent: -9999px) ，然后 overflow:hidden(隐藏溢出的文字), 淘宝的做法 */
    text-indent: -9999px;
    overflow: hidden;
    /* 方法2: 直接给font-size:0; 就看不到文字了,京东的做法. */
    /* font-size: 0; */
}

.search{
    position: absolute;
    top: 25px;
    left: 346px;
    width: 538px;
    height: 36px;
    border:2px solid #b1191a;
}

.search input{
    /* 前面说过input和button都属于行内块元素,两个元素之间会有缝隙,所以搜索按钮会掉下来,我们加上浮动就两个元素就没有缝隙了 */
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px;
}

.search button{
    width: 80px;
    height: 32px;
    font-size: 16px;
    color: #fff;
    background-color: #b1191a;
}

.hotwords{
    position: absolute;
    top: 66px;
    left: 346px;
}

.hotwords a{
    margin: 0 10px;
}

.shopcart{
    position: absolute;
    top: 25px;
    right: 60px;
    text-align: center;
    width: 140px;
    height: 35px;
    line-height: 35px;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
}

.shopcart a{
    display: block;
    width: 140px;
    height: 35px;
}

.shopcart a::before{
    color: #b1191a;
    content: "\e93a";
    font-family:'icomoon'; 
    margin-right: 5px;
}

.shopcart a::after{
    content: "\e920";
    font-family: icomoon;
    margin-left: 10px;
}

.count{
    /* 子绝父绝 */
    position:absolute;
    top: -5px;
    left: 105px;
    height: 14px;
    /*  覆盖从父类继承来的行高,line-height: 35px;这里不覆盖文字和盒子会出现很大的偏移 */
    line-height: 14px;
    color: #fff;
    background-color: #e60012;
    padding:0 5px;
    border-radius: 7px 7px 7px 0;
}

.nav{
    height: 47px;
    border-bottom:2px solid #b1191a;
}

.nav .dropdown{
    float: left;
    width: 210px;
    height: 45px;
    background-color: #b1191a;
}

.nav .navitems{
    float: left;
}

.dropdown .dt {
    font-size: 16px;
    width: 210px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    text-align: center;
}

.dropdown .dd{
    /* 隐藏 */
    display: none;
    width: 210px;
    height: 465px;
    background-color: #c81623;
    margin-top: 2px;
}

.dropdown .dd ul li{
    position:relative;
    height: 31px;
    line-height: 31px;
    margin-left: 2px;
    padding-left: 10px;
    color: #fff;
}

.dropdown .dd ul li a{
    font-size: 14px;
    color: #fff;
}

.dropdown .dd ul li:hover{
    background-color: #fff;
    color: #c81623;
}

.dropdown .dd ul li:hover a{
    color: #c81623;
}

.dropdown .dd ul li::after{
    position:absolute;
    top: 0;
    right: 10px;
    content: '\e920';
    font-size: 14px;
    font-family: 'icomoon';
}

.navitems{
    margin-left: 15px;
}

.navitems ul li{
    float: left;
}

.navitems ul li a{
    display: block;
    font-size: 16px;
    height: 45px;
    line-height: 45px;
    padding: 0 25px;
}

/* 底部模块 */
.footer{
    padding-top: 30px;
    height: 415px;
    background-color: #f5f5f5;
}

.mod_service {
    height: 80px;
    border-bottom:1px solid #ccc;
}

.mod_service ul li{
    float: left;
    width: 240px;
    height: 50px;
    padding-left: 35px;
}

.mod_service ul li h5{
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 8px;
    background:url(../images/icons.png) no-repeat;
}

/* 注意权重 */
.mod_service ul li .mod_service-zp{
    background-position: -252px -2px ;
}

/* 注意权重 */
.mod_service-wl{
    background-position:-254px -53px !important;
}

/* 注意权重 */
.mod_service ul li .mod_service-zf{
    background-position:-257px -106px;
}

/* 注意权重 */
.mod_service ul li .mod_service-sh{
    background-position:-258px -156px;
}

/* 注意权重 */
.mod_service ul li .mod_service-bz{
    background-position:-258px -208px;
}

.service_txt h4{
    font-size: 14px;
}

.service_txt p{
    font-size: 12px;
}

.mod_help{
    height: 185px;
    border-bottom: 1px solid #ccc;
    padding-top: 20px;
    padding-left: 50px;
}

.mod_help dl{
    float: left;
    width: 200px;
    
    /* margin-top: 22px; */
    /* margin:22px 75px 0; */
}

.mod_help dl dt{
    font-size: 16px;
    margin-bottom: 10px;
}

.mod_help dl:last-child{
    text-align: center;
    width: 90px;
}

.mod_copyright{
    padding-top: 20px;
    text-align: center;
}

.links a{
    margin: 0 7px;
}

.copyright{
    line-height: 20px;
    padding-top: 10px;
}

